package com.mate.cloud.repository;


import com.mate.cloud.entity.City;
import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

public interface CityRedisRepository extends CrudRepository<City, Long> {

    Optional<City> findOneByCode(String code);
}
